package com.jsmile.cloud.promotioncenter.web.mq.order.change;

import org.springframework.stereotype.Component;

import com.jsmile.cloud.promotioncenter.web.mq.order.IOrder;
import com.jsmile.cloud.tradecenter.api.enums.OrderStatusEnum;
import com.jsmile.cloud.tradecenter.api.res.ResOrder;

import lombok.extern.slf4j.Slf4j;

/**
 * 订单创建
 */
@Slf4j
@Component
public class OrderFinishStrategy implements IOrder {

    @Override
    public void execute(ResOrder order, OrderStatusEnum orderStatusEnum) {

    }

    @Override
    public OrderStatusEnum orderStatus() {
        return OrderStatusEnum.FINISH;
    }
}
